module.exports = [
    {
        url: '/api/tasks/selectTasks',
        type: 'post',
        response: _ => {
            return {
                "code": 200,
                "data": {
                    "total": 4,
                    "data": [{
                        "planBeginTime": "2025-07-09",
                        "planEndTime": "2025-07-16",
                        "actualFinishTime": "2025-07-09",
                        "subtaskCount": 4,
                        "distributorAcName": "张三",
                        "executorAcName": "张锐",
                        "mainId": 21,
                        "mainName": "ToG市场“一棵树”与ICT业务启航行动目标任务全面融合，组织机构与中移集成全面融合，实现三个50%，收入达到10.5亿。",
                        "mainDescription": "",
                        "distributor": "admin",
                        "executor": "libai2",
                        "belonging": "哈尔滨市",
                        "phone": "15145175476",
                        "taskProgress": 100,
                        "timeProgress": 100,
                        "taskImplementation": "正常",
                        "taskState": 2,
                        "userId": 1
                    }, {
                        "planBeginTime": "2025-07-01",
                        "planEndTime": "2025-07-31",
                        "subtaskCount": 2,
                        "distributorAcName": "张三",
                        "executorAcName": "康伟",
                        "mainId": 21,
                        "mainName": "实现ICT业务运营平台化。通过对DICT系统功能进行迭代优化，使系统更智能、稳定、高效，达成项目、业务、供应商、流程四全纳管，助力ICT业务运营全面数智化转型。",
                        "mainDescription": "",
                        "distributor": "admin",
                        "executor": "kangwei3",
                        "belonging": "市辖区",
                        "phone": "15094500001",
                        "taskProgress": 30,
                        "timeProgress": 32.44,
                        "taskImplementation": "正常",
                        "taskState": 1,
                        "userId": 1
                    }, {
                        "planBeginTime": "2025-07-01",
                        "planEndTime": "2025-08-31",
                        "subtaskCount": 3,
                        "distributorAcName": "李四",
                        "executorAcName": "夏宇",
                        "mainId": 21,
                        "mainName": "建立部门一整套的制度、流程、模版，以完备高效的制度规章和管理规范，提升工作质量，降低业务风险，保障运转效率。",
                        "mainDescription": "",
                        "distributor": "admin",
                        "executor": "aavt30",
                        "belonging": "黑龙江省",
                        "phone": "18546007477",
                        "taskProgress": 37.0,
                        "timeProgress": 15.94,
                        "taskImplementation": "超前",
                        "taskState": 1,
                        "userId": 1
                    }, {
                        "planBeginTime": "2025-07-01",
                        "planEndTime": "2025-07-31",
                        "subtaskCount": 3,
                        "distributorAcName": "李四",
                        "executorAcName": "何志杰",
                        "mainId": 21,
                        "mainName": "发挥财务BP作用，持续改善ICT业务收入结构、提升项目利润率，建立ICT项目财务管理规范化体系，向集团公司输出管理创新方案。",
                        "mainDescription": "",
                        "distributor": "admin",
                        "executor": "aavt3w",
                        "belonging": "黑龙江省",
                        "phone": "18246146963",
                        "taskProgress": 0.0,
                        "timeProgress": 32.40,
                        "taskImplementation": "落后",
                        "taskState": 0,
                        "userId": 1
                    }],
                    "totalPages": 1,
                    "pageSize": 20,
                    "currentPage": 1
                },
                "message": "查询成功"
            }
        },
    },
    {
        url: '/login',
        type: 'post',
        response: _ => {
            return { code: 200, data: { "userId": "1", "userName": "admin", acName: '测试', cityName: '黑龙江省' } }
        }
    },
    {
        url: '/api/tasks/21',
        type: 'get',
        response: _ => {
            return {
                "code": 200,
                "data": {
                    "planBeginTime": "2025-06-01",
                    "planEndTime": "2025-12-31",
                    "actualFinishTime": "2025-09-08",
                    "mainId": 14,
                    "mainName": "建立部门一整套的制度、流程、模版，以完备高效的制度规章和管理规范，提升工作质量，降低业务风险，保障运转效率。",
                    "mainDescription": "",
                    "distributor": "admin",
                    "executor": "hemin1",
                    "belonging": "东宁市",
                    "phone": "15145175476",
                    "taskProgress": 49.666,
                    "timeProgress": 18.53,
                    "taskImplementation": "超前",
                    "taskState": 1,
                    "userId": 1,
                    executorAcName: 'admin',
                    subTasks: [
                        {
                            "planStartTime": "2025-07-10",
                            "planFinishTime": "2025-09-10",
                            "subId": 29,
                            "subName": "完成流程全面纳管。实现合作伙伴相关的运营分析功能和预警功能，流程完全线上化。",
                            "subDescription": "",
                            "subExecutorAcNames": "张三,李四,王二",
                            "subExecutor": 'aavt30',
                            "subBelonging": "龙沙区,道外区,道理区",
                            "finishProgress": 35,
                            "mainId": 21
                        },
                        {
                            "planStartTime": "2025-07-10",
                            "planFinishTime": "2025-12-30",
                            "subId": 28,
                            "subName": "成本预算月偏离度≤5%，报账、付款合规性与准确性100%",
                            "subDescription": "",
                            "subExecutorAcNames": "张三",
                            "subExecutor": 'admin',
                            "subBelonging": "龙沙区",
                            "finishProgress": 60,
                            "mainId": 21
                        },
                        {
                            "planStartTime": "2025-07-10",
                            "planFinishTime": "2025-12-31",
                            "subId": 27,
                            "subName": "发挥“条块结合”优势，实现对地市的支撑、统筹、协调、地市调度，确保100%兜底。",
                            "subDescription": "",
                            "subExecutorAcNames": "李四,王二",
                            "subExecutor": 'admin',
                            "subBelonging": "龙沙区,龙沙区",
                            "finishProgress": 75,
                            "mainId": 21
                        }
                    ]
                }
            }
        }
    },
    {
        url: '/api/tasks/all',
        type: 'post',
        response: _ => {
            return {
                code: 200,
                'data|4': [{ "planBeginTime": "2025-07-09",
                            "planEndTime": "2025-07-16",
                            "actualFinishTime": "2025-07-09",
                            "subtaskCount": 4,
                            "distributorAcName": "张三",
                            "executorAcName": "李四",
                            "mainId": 21,
                            "mainName": "ToG市场“一棵树”与ICT业务启航行动目标任务全面融合，组织机构与中移集成全面融合，实现三个50%，收入达到10.5亿。",
                            "mainDescription": "",
                            "distributor": "admin",
                            "executor": "libai2",
                            "belonging": "哈尔滨市",
                            "phone": "15145175476",
                            "taskProgress": 100,
                            "timeProgress": 100,
                            "taskImplementation": "正常",
                            "taskState": 2,
                            "userId": 1,
                            subtaskCount: 3,
                            incompleteSubtaskCount: 0,
                            subTasks:[]
                        }]
            }
        }
    },
    {
        url: '/api/tasks/allExecutor',
        type: 'post',
        response: _ => {
            return {
                code: 200,
                data: {
                    total: 12,
                    "data|3": [
                        {
                            "planBeginTime": "2025-07-09",
                            "planEndTime": "2025-07-16",
                            "actualFinishTime": "2025-07-09",
                            "subtaskCount": 4,
                            "distributorAcName": "张三",
                            "executorAcName": "李四",
                            "mainId": 21,
                            "mainName": "ToG市场“一棵树”与ICT业务启航行动目标任务全面融合，组织机构与中移集成全面融合，实现三个50%，收入达到10.5亿。",
                            "mainDescription": "",
                            "distributor": "admin",
                            "executor": "libai2",
                            "belonging": "哈尔滨市",
                            "phone": "15145175476",
                            "taskProgress": 100,
                            "timeProgress": 100,
                            "taskImplementation": "正常",
                            "taskState": 2,
                            "userId": 1,
                            subtaskCount: 3,
                            incompleteSubtaskCount: 0
                        }, {
                            "planBeginTime": "2025-07-01",
                            "planEndTime": "2025-07-31",
                            "subtaskCount": 2,
                            "distributorAcName": "张三",
                            "executorAcName": "李四",
                            "mainId": 21,
                            "mainName": "实现ICT业务运营平台化。通过对DICT系统功能进行迭代优化，使系统更智能、稳定、高效，达成项目、业务、供应商、流程四全纳管，助力ICT业务运营全面数智化转型。",
                            "mainDescription": "",
                            "distributor": "admin",
                            "executor": "kangwei3",
                            "belonging": "市辖区",
                            "phone": "15094500001",
                            "taskProgress": 46,
                            "timeProgress": 32.44,
                            "taskImplementation": "正常",
                            "taskState": 1,
                            "userId": 1,
                            subtaskCount: 5,
                            incompleteSubtaskCount: 2
                        }, {
                            "planBeginTime": "2025-07-09",
                            "planEndTime": "2025-07-16",
                            "actualFinishTime": "2025-07-09",
                            "subtaskCount": 4,
                            "distributorAcName": "张三",
                            "executorAcName": "李四",
                            "mainId": 21,
                            "mainName": "ToG市场“一棵树”与ICT业务启航行动目标任务全面融合，组织机构与中移集成全面融合，实现三个50%，收入达到10.5亿。",
                            "mainDescription": "",
                            "distributor": "admin",
                            "executor": "libai2",
                            "belonging": "哈尔滨市",
                            "phone": "15145175476",
                            "taskProgress": 0,
                            "timeProgress": 5,
                            "taskImplementation": "正常",
                            "taskState": 0,
                            "userId": 1,
                            subtaskCount: 2,
                            incompleteSubtaskCount: 2
                        }, {
                            "planBeginTime": "2025-07-01",
                            "planEndTime": "2025-07-31",
                            "subtaskCount": 2,
                            "distributorAcName": "张三",
                            "executorAcName": "李四",
                            "mainId": 21,
                            "mainName": "实现ICT业务运营平台化。通过对DICT系统功能进行迭代优化，使系统更智能、稳定、高效，达成项目、业务、供应商、流程四全纳管，助力ICT业务运营全面数智化转型。",
                            "mainDescription": "",
                            "distributor": "admin",
                            "executor": "kangwei3",
                            "belonging": "市辖区",
                            "phone": "15094500001",
                            "taskProgress": 46,
                            "timeProgress": 32.44,
                            "taskImplementation": "正常",
                            "taskState": 3,
                            "userId": 1,
                            subtaskCount: 5,
                            incompleteSubtaskCount: 2
                        }
                    ]
                }
            }
        }
    }
]